package com.service;

import com.entity.Book;

import java.util.List;

public interface CRUDBook {
    Long  queryBooksCount();
    int  addBook(Book book);
    int deleteBook(int bookId);
    int updateBook(Book book);
    int clearAllBooks();
//    分页功能ORM
    List<Book> queryBooksByPage (int startIndex,int pageSize);
}
